package traveldream.ejb.packetmanagement;

import java.util.List;
import java.util.Date;

import javax.ejb.Local;

import traveldream.ejb.packetmanagement.dto.PacketDTO;

@Local
public interface PacketMgr {
	
	public List<PacketDTO> findByPid(long pid);
	public List<PacketDTO> findByDestinazione(String destinazione);
	public List<PacketDTO> findByDate(Date data);
	public List<PacketDTO> findCombo(String destinazione, Date data);
	public boolean addable(PacketDTO packet);
	public long savePacket(PacketDTO packet);
	public float calculatePacketCost(PacketDTO packetDTO);
	
}
